package com.rainsoft.center.isec.stream.library.entity.hbase.impl;

import com.alibaba.fastjson.annotation.JSONField;
import com.rainsoft.center.isec.common.annotation.HTable;
import com.rainsoft.center.isec.stream.library.entity.hbase.BaseLibEntity;

/**
 * @Name EndingLoginout
 * @Description
 * @Author Elwyn
 * @Version 2017/11/28
 * @Copyright 上海云辰信息科技有限公司
 **/
@HTable(tableName = "ending_loginout", family = "info", topicName = {"ending_loginout"})
public class EndingLoginout extends BaseLibEntity {
	@JSONField(name = "ICCARD_TYPE")
	private String iccardType;

	@JSONField(name = "BCPNAME")
	private String bcpname;

	@JSONField(name = "ZIPNAME")
	private String zipname;

	@JSONField(name = "SRC_PORT_END")
	private String srcPortEnd;

	@JSONField(name = "COMPUTERMAC")
	private String computermac;

	@JSONField(name = "X_COORDINATE")
	private String xCoordinate;

	@JSONField(name = "OS_NAME")
	private String osName;

	@JSONField(name = "APP_COMPANY_NAME")
	private String appCompanyName;

	@JSONField(name = "SRC_PORT_START")
	private String srcPortStart;

	@JSONField(name = "ROWNUMBER")
	private String rownumber;

	@JSONField(name = "LOGINID_TYPE")
	private String loginidType;

	@JSONField(name = "MACHINE_ID")
	private String machineId;

	@JSONField(name = "LOGINID")
	private String loginid;

	@JSONField(name = "TERMINAL_LONGITUDE")
	private String terminalLongitude;

	@JSONField(name = "COMPUTERID")
	private String computerid;

	@JSONField(name = "AUTHENTICATION_TYPE")
	private String authenticationType;

	@JSONField(name = "CLIENT_VERSION")
	private String clientVersion;

	@JSONField(name = "APP_SOFTWARE_NAME")
	private String appSoftwareName;

	@JSONField(name = "MANUFACTURER_CODE")
	private String manufacturerCode;

	@JSONField(name = "SRC_PORT_START_V6")
	private String srcPortStartV6;

	@JSONField(name = "BRAND")
	private String brand;

	@JSONField(name = "UNAME")
	private String uname;

	@JSONField(name = "ICCARD_NO")
	private String iccardNo;

	@JSONField(name = "VLAN_ID")
	private String vlanId;

	@JSONField(name = "LATITUDE")
	private String latitude;

	@JSONField(name = "SESSIONID")
	private String sessionid;

	@JSONField(name = "SEX")
	private String sex;

	@JSONField(name = "SRC_IP")
	private String srcIp;

	@JSONField(name = "LONGITUDE")
	private String longitude;

	@JSONField(name = "SRC_PORT_END_V6")
	private String srcPortEndV6;

	@JSONField(name = "DATA_SOURCE")
	private String dataSource;

	@JSONField(name = "APP_VERSION")
	private String appVersion;

	@JSONField(name = "SRC_IPV6")
	private String srcIpv6;

	@JSONField(name = "LOGOUT_TIME_SOURCE")
	private String logoutTimeSource;

	@JSONField(name = "TERMINAL_LATITUDE")
	private String terminalLatitude;

	@JSONField(name = "COMPUTERIP")
	private String computerip;

	@JSONField(name = "LOGOUT_TIME")
	private String logoutTime;

	@JSONField(name = "TERMINAL_FIELD_STRENGTH")
	private String terminalFieldStrength;

	@JSONField(name = "IMSI")
	private String imsi;

	@JSONField(name = "IMEI_ESN_MEID")
	private String imeiEsnMeid;

	@JSONField(name = "ENDING_MAC")
	private String endingMac;

	@JSONField(name = "APPID")
	private String appid;


	@JSONField(name = "MODEL")
	private String model;

	@JSONField(name = "LOGIN_TIME_SOURCE")
	private String loginTimeSource;

	@JSONField(name = "MACHINE_MAC")
	private String machineMac;


	@JSONField(name = "Y_COORDINATE")
	private String yCoordinate;

	@JSONField(name = "PEOPLE")
	private String people;

	@JSONField(name = "HAVE_CAMERA")
	private String haveCamera;


	public String getIccardType() {
		return iccardType;
	}

	public void setIccardType(String iccardType) {
		this.iccardType = iccardType;
	}


	public String getBcpname() {
		return bcpname;
	}

	public void setBcpname(String bcpname) {
		this.bcpname = bcpname;
	}


	public String getZipname() {
		return zipname;
	}

	public void setZipname(String zipname) {
		this.zipname = zipname;
	}

	public String getSrcPortEnd() {
		return srcPortEnd;
	}

	public void setSrcPortEnd(String srcPortEnd) {
		this.srcPortEnd = srcPortEnd;
	}

	public String getComputermac() {
		return computermac;
	}

	public void setComputermac(String computermac) {
		this.computermac = computermac;
	}


	public String getxCoordinate() {
		return xCoordinate;
	}

	public void setxCoordinate(String xCoordinate) {
		this.xCoordinate = xCoordinate;
	}

	public String getOsName() {
		return osName;
	}

	public void setOsName(String osName) {
		this.osName = osName;
	}

	public String getAppCompanyName() {
		return appCompanyName;
	}

	public void setAppCompanyName(String appCompanyName) {
		this.appCompanyName = appCompanyName;
	}

	public String getSrcPortStart() {
		return srcPortStart;
	}

	public void setSrcPortStart(String srcPortStart) {
		this.srcPortStart = srcPortStart;
	}

	public String getRownumber() {
		return rownumber;
	}

	public void setRownumber(String rownumber) {
		this.rownumber = rownumber;
	}

	public String getLoginidType() {
		return loginidType;
	}

	public void setLoginidType(String loginidType) {
		this.loginidType = loginidType;
	}

	public String getMachineId() {
		return machineId;
	}

	public void setMachineId(String machineId) {
		this.machineId = machineId;
	}

	public String getLoginid() {
		return loginid;
	}

	public void setLoginid(String loginid) {
		this.loginid = loginid;
	}

	public String getTerminalLongitude() {
		return terminalLongitude;
	}

	public void setTerminalLongitude(String terminalLongitude) {
		this.terminalLongitude = terminalLongitude;
	}


	public String getComputerid() {
		return computerid;
	}

	public void setComputerid(String computerid) {
		this.computerid = computerid;
	}

	public String getAuthenticationType() {
		return authenticationType;
	}

	public void setAuthenticationType(String authenticationType) {
		this.authenticationType = authenticationType;
	}

	public String getClientVersion() {
		return clientVersion;
	}

	public void setClientVersion(String clientVersion) {
		this.clientVersion = clientVersion;
	}

	public String getAppSoftwareName() {
		return appSoftwareName;
	}

	public void setAppSoftwareName(String appSoftwareName) {
		this.appSoftwareName = appSoftwareName;
	}

	public String getManufacturerCode() {
		return manufacturerCode;
	}

	public void setManufacturerCode(String manufacturerCode) {
		this.manufacturerCode = manufacturerCode;
	}

	public String getSrcPortStartV6() {
		return srcPortStartV6;
	}

	public void setSrcPortStartV6(String srcPortStartV6) {
		this.srcPortStartV6 = srcPortStartV6;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getIccardNo() {
		return iccardNo;
	}

	public void setIccardNo(String iccardNo) {
		this.iccardNo = iccardNo;
	}

	public String getVlanId() {
		return vlanId;
	}

	public void setVlanId(String vlanId) {
		this.vlanId = vlanId;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getSessionid() {
		return sessionid;
	}

	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSrcIp() {
		return srcIp;
	}

	public void setSrcIp(String srcIp) {
		this.srcIp = srcIp;
	}

	public String getLongitude() {
		return longitude;
	}

	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getSrcPortEndV6() {
		return srcPortEndV6;
	}

	public void setSrcPortEndV6(String srcPortEndV6) {
		this.srcPortEndV6 = srcPortEndV6;
	}

	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	public String getAppVersion() {
		return appVersion;
	}

	public void setAppVersion(String appVersion) {
		this.appVersion = appVersion;
	}

	public String getSrcIpv6() {
		return srcIpv6;
	}

	public void setSrcIpv6(String srcIpv6) {
		this.srcIpv6 = srcIpv6;
	}

	public String getLogoutTimeSource() {
		return logoutTimeSource;
	}

	public void setLogoutTimeSource(String logoutTimeSource) {
		this.logoutTimeSource = logoutTimeSource;
	}

	public String getTerminalLatitude() {
		return terminalLatitude;
	}

	public void setTerminalLatitude(String terminalLatitude) {
		this.terminalLatitude = terminalLatitude;
	}

	public String getComputerip() {
		return computerip;
	}

	public void setComputerip(String computerip) {
		this.computerip = computerip;
	}

	public String getLogoutTime() {
		return logoutTime;
	}

	public void setLogoutTime(String logoutTime) {
		this.logoutTime = logoutTime;
	}

	public String getTerminalFieldStrength() {
		return terminalFieldStrength;
	}

	public void setTerminalFieldStrength(String terminalFieldStrength) {
		this.terminalFieldStrength = terminalFieldStrength;
	}

	public String getImsi() {
		return imsi;
	}

	public void setImsi(String imsi) {
		this.imsi = imsi;
	}

	public String getImeiEsnMeid() {
		return imeiEsnMeid;
	}

	public void setImeiEsnMeid(String imeiEsnMeid) {
		this.imeiEsnMeid = imeiEsnMeid;
	}

	public String getEndingMac() {
		return endingMac;
	}

	public void setEndingMac(String endingMac) {
		this.endingMac = endingMac;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}


	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getLoginTimeSource() {
		return loginTimeSource;
	}

	public void setLoginTimeSource(String loginTimeSource) {
		this.loginTimeSource = loginTimeSource;
	}

	public String getMachineMac() {
		return machineMac;
	}

	public void setMachineMac(String machineMac) {
		this.machineMac = machineMac;
	}


	public String getyCoordinate() {
		return yCoordinate;
	}

	public void setyCoordinate(String yCoordinate) {
		this.yCoordinate = yCoordinate;
	}

	public String getPeople() {
		return people;
	}

	public void setPeople(String people) {
		this.people = people;
	}

	public String getHaveCamera() {
		return haveCamera;
	}

	public void setHaveCamera(String haveCamera) {
		this.haveCamera = haveCamera;
	}

	@Override
	public String getRowKey() {
		return idcode + "_" + idtype + "_" + loginTime.getTime()/1000;
	}
}
